package com.mdd.admin.validate.yylq;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 企业融资申请记录参数
 * @author LikeAdmin
 */
@Data
@ApiModel("企业融资申请记录更新参数")
public class TAppCorporateFinanceApplicationRecordUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @NotNull(message = "enterpriseId参数缺失")
    @ApiModelProperty(value = "企业id")
    private Integer enterpriseId;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "状态（1：已申请待审核；2：已通过；3：已拒绝；）")
    private Integer status;

    @NotNull(message = "reason参数缺失")
    @ApiModelProperty(value = "拒绝原因")
    private String reason;

    @NotNull(message = "corporateFinanceId参数缺失")
    @ApiModelProperty(value = "企业融资产品id")
    private Integer corporateFinanceId;

    @NotNull(message = "userName参数缺失")
    @ApiModelProperty(value = "")
    private String userName;

    @NotNull(message = "enterpriseName参数缺失")
    @ApiModelProperty(value = "")
    private String enterpriseName;

    @NotNull(message = "corporateFinanceName参数缺失")
    @ApiModelProperty(value = "企业融资产品名称")
    private String corporateFinanceName;

}
